# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-cap32
pkgver=0_git20190907
pkgrel=0
_commit="8681fbdc5623830078b38d713935caf4682e5295"
pkgdesc="caprice32 emulator for libretro"
url="https://github.com/libretro/libretro-cap32"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-cap32/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-cap32-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 cap32_libretro.so "$pkgdir"/usr/lib/libretro/cap32_libretro.so
}

sha512sums="82313d1ef235e50c1bd7e6c2c3b85ed2cde17c9476d27058d165fb2a8ea49e15f974d98f749e96eb2e9305710066644c3a4d5e0fc36b28df7d150685f9a798bc  libretro-cap32-8681fbdc5623830078b38d713935caf4682e5295.tar.gz"
